def main():
    persons = [True]*30
    count, index, num = 0, 0, 0
    while count < 15:
        if persons[index]:
            num += 1
            if num == 9:
                num = 0
                persons[index] = False
                count += 1
        index += 1
        index %= 30


    for person in persons:
        print('基' if person else '非', end='')

if __name__ == '__main__':
    main()